package com.jianyun.jyzs.bean;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

import java.io.Serializable;
import java.util.List;

/**
 * Created by mlli on 2017/11/6.
 */

public class EngProjectLocResult extends Response{


    @Override
    public String toString() {
        return "EngProjectLocResult{" +
                "result=" + result +
                ", totalIndex=" + totalIndex +
                ", pageIndex=" + pageIndex +
                ", message='" + message + '\'' +
                ", list=" + list +
                '}';
    }

    /**
     * result : true
     * list : [{"Position":"T11","CreateUser":"超级管理员","State":0,"CreateUserId":"A92118E9-993B-4651-8F11-C440799346D5","rowNum":1,"EnterpreseCode":"yuntechoa","ProJectId":37,"AutoId":16,"CreateTime":"2016-08-02 10:58:09"},{"Position":"T22","CreateUser":"超级管理员","State":0,"CreateUserId":"A92118E9-993B-4651-8F11-C440799346D5","rowNum":2,"EnterpreseCode":"yuntechoa","ProJectId":37,"AutoId":15,"CreateTime":"2016-08-02 10:58:09"}]
     * totalIndex : 1
     * pageIndex : 1
     * message : ok
     */

    private boolean result;
    private int totalIndex;
    private int pageIndex;
    private String message;
    private List<EngTypeLocBean> list;

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public int getTotalIndex() {
        return totalIndex;
    }

    public void setTotalIndex(int totalIndex) {
        this.totalIndex = totalIndex;
    }

    public int getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(int pageIndex) {
        this.pageIndex = pageIndex;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<EngTypeLocBean> getList() {
        return list;
    }

    public void setList(List<EngTypeLocBean> list) {
        this.list = list;
    }

    @DatabaseTable
    public static class EngTypeLocBean implements Serializable{
        @Override
        public String toString() {
            return "EngTypeLocBean{" +
                    "Position='" + Position + '\'' +
                    ", CreateUser='" + CreateUser + '\'' +
                    ", State=" + State +
                    ", CreateUserId='" + CreateUserId + '\'' +
                    ", rowNum=" + rowNum +
                    ", EnterpreseCode='" + EnterpreseCode + '\'' +
                    ", ProJectId=" + ProJectId +
                    ", AutoId=" + AutoId +
                    ", CreateTime='" + CreateTime + '\'' +
                    '}';
        }

        /**
         * Position : T11
         * CreateUser : 超级管理员
         * State : 0
         * CreateUserId : A92118E9-993B-4651-8F11-C440799346D5
         * rowNum : 1
         * EnterpreseCode : yuntechoa
         * ProJectId : 37
         * AutoId : 16
         * CreateTime : 2016-08-02 10:58:09
         */

        @DatabaseField
        private String Position;
        @DatabaseField
        private String CreateUser;
        @DatabaseField
        private int State;
        @DatabaseField
        private String CreateUserId;
        @DatabaseField
        private int rowNum;
        @DatabaseField
        private String EnterpreseCode;
        @DatabaseField
        private int ProJectId;
        @DatabaseField(id = true)
        private int AutoId;
        @DatabaseField
        private String CreateTime;
        @DatabaseField
        private int count;

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public String getPosition() {
            return Position;
        }

        public void setPosition(String Position) {
            this.Position = Position;
        }

        public String getCreateUser() {
            return CreateUser;
        }

        public void setCreateUser(String CreateUser) {
            this.CreateUser = CreateUser;
        }

        public int getState() {
            return State;
        }

        public void setState(int State) {
            this.State = State;
        }

        public String getCreateUserId() {
            return CreateUserId;
        }

        public void setCreateUserId(String CreateUserId) {
            this.CreateUserId = CreateUserId;
        }

        public int getRowNum() {
            return rowNum;
        }

        public void setRowNum(int rowNum) {
            this.rowNum = rowNum;
        }

        public String getEnterpreseCode() {
            return EnterpreseCode;
        }

        public void setEnterpreseCode(String EnterpreseCode) {
            this.EnterpreseCode = EnterpreseCode;
        }

        public int getProJectId() {
            return ProJectId;
        }

        public void setProJectId(int ProJectId) {
            this.ProJectId = ProJectId;
        }

        public int getAutoId() {
            return AutoId;
        }

        public void setAutoId(int AutoId) {
            this.AutoId = AutoId;
        }

        public String getCreateTime() {
            return CreateTime;
        }

        public void setCreateTime(String CreateTime) {
            this.CreateTime = CreateTime;
        }
    }
}
